@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}
body{
    min-width: 320px;
    min-height: 100%;
}
/* Стили для header и меню начало */
header{
    background: #1D2F30;
    padding: 16px 0;
    position: relative;
    z-index: 2;
    margin: 0 -1px;
}
section{
    margin: -1px
}
.container{
    max-width: 1174px;
    padding: 0 32px;
    margin: 0 auto;
}
.menu-container{
    display: flex;
    align-items: center;
}
svg{
    width: 22px;
    height: 22px;
    border: 1px solid transparent;
    transition: 350ms ease fill;
}
.right-menu{
    display: flex;
    position: relative;
}
.menu-logo svg{
    width: 65px;
    height: 20px;
}
.menu-logo{
    width: 65px;
    margin-right: 130px;
}
.menu-nav{
    display: flex;
    align-items: center;
    gap: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-right: auto;
}

.menu-nav .nav_cont{
    display: flex;
    align-items: center;
    gap: 60px;
}
.menu-nav a{
    text-decoration: none;
    color: #ffffff;
    border: 1px solid transparent;
    transition: 350ms ease color;
}
.menu-nav a:hover{
    color: #bae249;
}
.menu-nav a:active{
    color: #688B05;
}
.right-menu{
    margin-left: auto;
    gap: 60px;
    align-items: center;
}
.right-menu svg{
    display: block;
    fill: #bae249;
}
.search-btn{
    border: none;
    background: transparent;
    cursor: pointer;
}
.login-btn:focus-visible,
.right-menu button:focus-visible,
.menu-nav a:focus-visible{
    outline: 1px solid #83A440;
}
.right-menu svg:hover{
    fill: #91AC46;
}
.right-menu svg:active{
    fill: #688B05;
}
/* Стили для header и меню конец*/

/* Стили для секции catalog начало */
.catalog{
    background-image: url("../img/hero-bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 115px;
    padding-bottom: 120px;
}
.catalog-container{
    max-width: 688px;
}
.catalog-container h1{
    font-family: 'Cormorant', serif;
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    line-height: 60px;
    margin-bottom: 30px;
}
.text-content{
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 24px;
    margin-bottom: 30px;
}
.transition-link{
    align-items: center;
    display: flex;
    width: fit-content;
    gap: 5px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #bae249;
    border: 1px solid transparent;
    transition: .35s ease color;
}
.transition-link svg{
    fill: #bae249;
    height: fit-content;
    width: 50px;
}
.transition-link:hover > svg,
.transition-link:hover{
    color:#91AC46;
    fill: #91AC46;
}
.transition-link:active,
.transition-link:active > svg{
    color: #688B05;
    fill: #688B05;
}
.transition-link:focus-visible{
    outline: 1px solid #83A440;
}
/* Стили для секции catalog конец */

/* Стили для секции galery начало */

#galery{
    padding: 50px 0;
    background-color: #1D2F30;
}
.cards-container{
    margin: 0 auto;
    overflow: hidden;
    min-width: 0;
    height: 100%;
}
.swiper-box, .swiper-wrapper{
    display: flex;
    transition: 1.25s cubic-bezier(.2, .6, 0, 1) transform;
    height: 100%;
}
.card{
    border: 1px solid #0B1919;
    user-select: none;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: auto;
    flex: auto;
}
.card-digit{
    background: inherit;
    border: 1px solid #899D9D;
    color: #899D9D;
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 16px;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 8%;
    left: 5%;
    border-radius: 100%;
    text-align: center;
}
.card-image{
    background: #0B191A;
    padding: 30px 15px;
    height: 120px;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    box-sizing: content-box;
}
.card-image img{
    max-width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
.card-text{
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.card-title{
    font-family: 'Cormorant', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
    color: #ffffff;
}
.card-text p{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #899D9D;
    line-height: 24px;
    margin: 15px 0;
}
.card-btn{
    margin-top: auto;
    display: block;
    width: 145px;
    height: 45px;
    border: 1px solid #BAE249;
    background: inherit;
    color: #BAE249;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition-property: color, background-color, outline-offset, border-color;
    transition-duration: .3s;
    transition-timing-function: ease;
}
svg{
    width: 22px;
    height: 22px;
    border: 1px solid transparent;
    transition: 350ms ease fill;
}
.stepper-box{
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    gap: 30px;
}

.stepper-box button{
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    background: transparent;
}
.stepper-box button > svg{
    fill: #899D9D;
    cursor: pointer;
    transition-property: fill, transform;
    transition-duration: .35s;
    transition-timing-function: ease;
}
.stepper-box button > svg:hover{
    fill: #bae249;
    transform: scale(1.2);
}
.stepper-box button:focus-visible{
    outline: 1px solid #83A440;
}
.stepper-box button > svg:active{
    fill: #688B05;
}
.stepper-box button:disabled{
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}
.card-btn:hover{
    background: #BAE249;
    color: inherit;
}
.card-btn:active{
    background: #688B05;
    border-color: #688B05;
}
.card-btn:focus-visible{
    outline: 1px solid #83A440;
    outline-offset: 2px;
}
.card-btn:disabled{
    border: 1px solid #899D9D;
    background: inherit;
    color: #899D9D;
}
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    transition-property: transform;
    display: flex;
}


.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    position: relative;
    transition-property: transform;
    display: flex;
}
.swiper-pagination {
    position: relative;
    width: 60px;
}
.swiper-pagination-horizontal {
    bottom: auto;
    width: 60px;
}
.swiper-pagination span{
    font-size: 24px;
    color: #ffffff;
    font-family: 'Cormorant', serif;
}


/* Начало секции about */
#about{
    background: #1D2F30;
}
.section-heading{
    color: #ffffff;
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 48px;
    margin-bottom: 18px;
}
.about-box{
    display: flex;
    gap: 30px;
    padding-bottom: 50px;
    justify-content: space-between;
}
.images-box{
    display: flex;
    align-items: center;
    padding: 15px;
    align-self: stretch;
    flex-shrink: 2;
    justify-content: center;
    position: relative;
    background-color: #0B1919;
}
.images-box img{
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.text-box{
    max-width: 255px;
    background-color: #bae249;
    display: flex;
    flex-grow: 1;
    width: 100%;
    align-self: stretch;
    flex-direction: column;
    padding: 15px;
    justify-content: space-between;
}
.content-box{
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}
.text-box h3{
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 24px;
}
.text-box p{
    color: #506829;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}
.transition-link-2{
    align-items: center;
    display: flex;
    width: fit-content;
    gap: 5px;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: black;
    border: 1px solid transparent;
    transition: .35s ease color;
}
.transition-link-2 svg{
    fill: black;
    height: fit-content;
    width: 50px;
}
.transition-link-2:hover > svg,
.transition-link-2:hover{
    color:#688B05;
    fill: #688B05;
}
.transition-link-2:active,
.transition-link-2:active > svg{
    color: black;
    fill: black;
}
.transition-link-2:focus-visible{
    outline: 1px solid #83A440;
}
.transition-link-2:disabled,
.transition-link-2:disabled > svg{
    color: #899D9D;
    fill: #899D9D;
}
.images-box a{
    color: #899D9D;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    align-items: center;
    gap: 5px;
    display: none;
}
.images-box svg{
    fill: #899D9D;
    width: 80px;
    height: 28px;
}
/* Конец секции about */

/* Начало секции contacts */
#contacts{
    background-image: url("../img/contact-bg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 60px;
    padding-bottom: 50px;
}
.contacts-container{
    max-width: 825px;
}
.contacts-container p{
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #ffffff;
    padding-bottom: 30px;
}
.contacts-form{
    display: flex;
    flex-direction: column;
    max-width: 355px;
    gap: 25px;
}
.contacts-form label{
    position: relative;
}
.contacts-form input{
    padding: 10px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
    text-align: left;
    background-color: #ffffff;
    transition-property: background-color, color, border;
    transition-duration: .35s;
    transition-timing-function: ease;
}
.default-inp{
    border: 1px solid #ffffff;
}
.default-inp:focus{
    outline: 1px solid #83A440;
    outline-offset: 2px;
}
.default-inp:hover{
    border: 1px solid #ffffff;
    background-color: #899D9D;
}
.error-inp{
    border: 1px solid #E24949;
}
.error-inp:focus{
    outline: 1px solid #E24949;
    outline-offset: 2px;
}
.error-inp:hover{
    border: 1px solid #E24949;
    background-color: #899D9D;
}
.error-message{
    position: absolute;
    color: #E24949;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    left: 20px;
    top: -20px
}
.contacts-form input::placeholder{
    color: #899D9D;
}
.contacts-form input:hover::placeholder{
    color: #ffffff;
}
.contacts-form input:disabled{
    background: #899D9D;
    color: black;
    border: 1px solid #899D9D;
}
.send-btn{
    width: 145px;
    height: 45px;
    background-color: #BAE249;
    color: #0B1919;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition-property: background-color, outline;
    transition-duration: .35s;
    transition-timing-function: ease;
}
.send-btn:hover{
    background-color: #91AC46;
}
.send-btn:active{
    background-color: #688B05;
}
.send-btn:focus-visible{
    outline: 1px solid #83A440;
    outline-offset: 2px;
}
/* Конец секции contacts */

/* Footer */
footer{
    margin: -1px 0;
}
.social-nets{
    display: flex;
    height: 60px;
    background-color: #0B1919;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0 -1px;
}
.social-net-link{
    display: flex;
}
.social-net-link svg{
    width: 25px;
    height: 25px;
    fill: #899D9D;
    transition: .35s ease fill;
}
.social-net-link svg:hover{
    fill: #BAE249;
}
.social-net-link svg:active{
    fill: #688B05;
}
.social-net-link:focus-visible{
    outline: 1px solid #83A440;
}
.copyright-box{
    height: 20px;
    text-align: center;
    color: #899D9D;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    background-color: #1D2F30;
    margin: -1px;
}

@media screen and (max-width: 1024px) { 
    .right-menu{
        gap: 30px;
    }
    .menu-logo{
        margin-right: 50px;
    }
    .menu-nav .nav_cont{
        gap: 30px;
    }
    .card{
        min-width: 30.1%;
    }
}

@media screen and (max-width: 768px) { 
    .text-content{
        display: none;
    }
    .catalog{
        padding-top: 70px;
        padding-bottom: 30px;
    }
    .catalog-container h1{
        font-size: 48px;
        line-height: 48px;
        margin-bottom: 30px;
    }
    .menu-nav{
        margin-right: 0;
        position: absolute;
        bottom: -40px;
        left: 0;
        justify-content: center;
        width: 100%;
    }
    .card{
        min-width: 46%;
    }
    #stepper_right, #stepper_left{
        display: none;
    }
    .swiper-pagination-horizontal{
        width: fit-content;
        align-items: center;
    }
    .swiper-pagination span{
        margin-right: 25px;
    }
    .swiper-pagination-bullets{
        width: auto;
        gap: 25px;
        display: flex;
        justify-content: space-between;
    }
    .swiper-pagination-bullet{
        background-color: #0b1919;
        width: 10px;
        height: 10px;
    }
    .swiper-pagination-bullet-active{
        background-color: #BAE249;
    }
    .about-box{
        flex-direction: column;
    }
    .images-box{
        width: 100%;
        align-items: flex-start;
        height: 493px;
        justify-content: start;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }
    .images-box::-webkit-scrollbar{
        width: 0;
        height: 0;
    }
    .images-box a{
        display: flex;
    }
    .images-box img{
        min-width: 800px;
        height: auto;
    }
    .text-box{
        max-width: 100%;
        padding-bottom: 25px;
    }
    .content-box{
        margin-bottom: 75px;
    }
    .contacts-container p{
        display: none;
    }
}
@media screen and (max-width: 576px) { 
    .menu-nav .nav_cont{
        overflow: auto;
        justify-content: start;
        padding: 0 32px;
    }
    .menu-nav a{
        text-wrap: nowrap;
    }
    .nav_cont::-webkit-scrollbar{
        width: 0;
        height: 0;
    }
    .card{
        min-width: 95%;
    }
}
